# 题1：读取`p_change`列并计算前n天的累计和，然后绘制折线图
import pandas as pd
import matplotlib.pyplot as plt

df = pd.read_csv('data/stock.csv', usecols=['p_change'])
# print(df.head())
df.cumsum().plot()
plt.show()
